<div class="col-sm-12 mt20">
     <div class="panel">
           <div class="panel-body">
                <div class="col-sm-12">
			         <div class="row">			        
							<div class="col-sm-2">
                                <input type="text" class="form-control" ng-model="searchform.order_code" placeholder="订单编号">
							</div>
                            <div class="col-sm-2">
                                <input type="text" class="form-control" ng-model="searchform.mobile"  placeholder="手机号">
                            </div>
                            <div class="col-sm-2">
                                <ui-select ng-model="searchform.ticket_state" theme="bootstrap" ng-keyup="myKeyup($event)">
										<ui-select-match placeholder="审核状态">
											{{$select.selected.label}}
										</ui-select-match>
										<ui-select-choices repeat="item.value as item in tstate | filter: $select.search">
											<span ng-bind-html="item.label | highlight: $select.search"></span>
										</ui-select-choices>
									</ui-select>
                            </div>
                            <div class="col-sm-2">
									<input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date.lable" is-open="date.opened"
										ng-click="dateOpen($event, date)" placeholder="开始时间" ng-required="true"  close-text="关闭" current-text="今天" clear-text="清除"  readonly/>
								</div>
								<div class="col-sm-2">
									<input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date1.lable" is-open="date1.opened"
										ng-click="dateOpen1($event, date1)" placeholder="结束时间" ng-required="true" close-text="关闭" current-text="今天" clear-text="清除" readonly/>						
								</div>
                            <div class="col-sm-2">
                                <input type="button " class="btn btn-info search form-control" ng-click="load()" value="立即搜索">
                            </div>
                          
                    </div>

            </div>
        </div>
    </div>
    <!-- searchArea -->

    <div class="panel panel-default">
    <table class="table table-condensed table-hover table-bordered">
        <thead>
            <tr>
                <th class="col-md-1 text-center">订单编号</th>
                <th class="col-md-2 text-center">订单名称</th>
                <th class="col-md-2 text-center">订单信息</th>
                <th class="col-md-2 text-center">游客信息</th>
                <th class="col-md-1 text-center">申请退票数量</th>
                <th class="col-md-2 text-center">申请时间</th>
                <th class="col-md-1 text-center">审核状态</th>
                <th class="col-md-1 text-center">操作</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="obj in objs">
                <td class="text-center">
                    <br>{{obj.order_code}}<br>
                    <span ng-show="obj.seq_id">分销商：{{obj.seq_id}}</span>
                    <br> <span ng-show="obj.supply_seq_id">供应商：{{obj.supply_seq_id}}</span>
                </td>
                <td class="text-center"><br/>{{obj.title}}</td>
                <td class="text-center">
                    购买数量：{{obj.num}}<br/>&nbsp;使用数量：{{obj.used}}
                    <br/> 退票数量：{{obj.back}}
                </td>
                <td class="text-center">
                    姓名：{{obj.name}}
                    <br/> 身份证：{{obj.cardno}}
                    <br/> 手机号码：{{obj.mobile}}
                </td>
                <td class="text-center"><br/>{{obj.back_count}}</td>
                <td class="text-center"><br/>{{obj.create_time}}</td>
                <td class="text-center"><br/>{{obj.ticket_state_name}}</td>
                <td class="text-center">
                    <!--<a ng-click="pass(obj)" class="btn btn-success btn-xs">审核通过</a>
                    <a ng-click="nopass(obj)" class="btn btn-danger btn-xs">审核不通过</a>-->
                    <br/>
                    <a ng-show="obj.ticket_state == 5" ng-click="info(obj)" class="btn btn-warning btn-xs">审核</a>
                </td>
            </tr>
        </tbody>
    </table>


    <div class="text-right">

        <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" max-size="maxSize" class="pagination-sm" boundary-links="true"
            ng-change="load()" items-per-page="itemsPerPage" previous-text="上一页" next-text="下一页" first-text="首页" last-text="末页"
            rotate="false">
        <pagination>

    </div>

    </div>
</div>